home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / sysadmin.672 < prev    next >
Text File  |  1992-02-06  |  2KB  |  74 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Ohlfs;\f1\fswiss Helvetica;}
  2. \paperw11680
  3. \paperh7240
  4. \margl120
  5. \margr120
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 Autonfsmount the /clients sd0b second partition\
  8. \
  9. Q:  How do I get autonfsmount to mount the whole disk including a second partition (/clients)?\
  10. \
  11. A:   This can be done if:\
  12. \
  13. 1) You export both 
  14. \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\fc0 partitions
  15. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600  on the NFS server.   As root, edit the 
  16. \b /etc/exports
  17. \b0  file and add the entries:\
  18.  
  19. \f2\fs20     /\
  20.     /clients\
  21.  
  22. \f0\fs28 \
  23. See the Unix man pages for more information on 
  24. \b exports
  25. \b0  and 
  26. \b exportfs
  27. \b0 .\
  28. \
  29. 2) Create a real directory 
  30. \b /clients
  31. \b0  on the NFS server.\
  32. \
  33.  
  34. To create this directory you will need to first unmount the 
  35. \b /clients
  36. \b0  partition, use 
  37. \b mkdir
  38. \b0  to create the directory, then remount
  39. \b  /clients
  40. \b0 . As root, you would do the following steps:\
  41. \
  42.  
  43. \f2\fs20 myhost>> umount /clients\
  44. myhost>> mkdir /clients\
  45. myhost>> mount /dev/sd0b /clients\
  46.  
  47. \f0\fs28 \
  48. 3) Add the entries for the mounts in the NetInfo 
  49. \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\fc0 database
  50. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 . The entry for 
  51. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\b\fc0 server:/clients
  52. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b0  must occur before the entry for 
  53. \b server:/
  54. \b0   The output from 
  55. \b nidump
  56. \b0  should look something like this:\
  57. \
  58.  
  59. \f2\fs20 myhost>> nidump fstab .
  60. \f0\fs28 \
  61.  
  62. \f2\fs20 server:/clients /Net nfs ro,net,bg 0 0\
  63. server:/  /Net nfs ro,net,bg 0 0\
  64.  
  65. \f0\fs28 \
  66. QA672                \
  67. \
  68.  
  69. \fc0 Not valid for 1.0 \
  70. Not valid for mixed 1.0 and 2.0 domains\
  71. Valid for 2.0\
  72. \
  73.  
  74.